import { EnumProperty, IWidget } from "xcore/cmpnt"

const Password: IWidget = {
  cmpnt: "ElInput",
  type: "password",
  valueKey: "password",
  category: "widgets",
  props: {
    placeholder: "请输入",
    maxlength: 32,
    "prefix-icon": "",
    "suffix-icon": "",
    "show-password": true,
    readonly: false,
    autofocus: true,
    clearable: true,
    disabled: false,
    style: {
      width: "120px",
    },
    class: [],
    bind: { properties: [EnumProperty.Removed] },
  },
  events: {},
  ctl: {
    icon: "iconfont te-i-password",
    name: "Password",
    group: "password",
    text: "密码组件",
  },
};
export { Password };
